import { Action } from '@ngrx/store';

import { MousePosition } from '../../models';

export enum MouseActionTypes {
    MOUSE_POSITION = '[Mouse] Mouse Position'
}

export class MousePositionUpdate implements Action {
    readonly type = MouseActionTypes.MOUSE_POSITION;
    constructor(public payload: MousePosition) {}
}

export type MouseAction = MousePositionUpdate;